Skip to content

Limit buffered error response previews#162

Merged
guruz merged 1 commit into
opencloud-eu:mainfrom
zerox80:zerox80/limit-error-response-previews
May 30, 2026
Merged

Limit buffered error response previews#162
guruz merged 1 commit into
opencloud-eu:mainfrom
zerox80:zerox80/limit-error-response-previews

Conversation

@zerox80
Copy link
Copy Markdown
Contributor

@zerox80 zerox80 commented May 12, 2026

Summary

  • add a bounded response body preview for error handling
  • avoid buffering unbounded response bodies when constructing operation errors
  • keep normal API response parsing unchanged

Tests

  • Added coverage for truncated error previews
  • Verified existing response parsing call sites still request full response bodies

@guruz
Copy link
Copy Markdown
Contributor

guruz commented May 18, 2026

Makes sense but where did you see this being an issue?

@guruz guruz merged commit 0318132 into opencloud-eu:main May 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants